﻿using System;

namespace TimeTable.Domain.Entity
{
    public class TimeTable
    {
        public int ID { get; set; }
        public Division Division { get; set; }
        public DateTime BeginDate { get; set; }
        public DateTime EndDate { get; set; }

        public override string ToString()
        {
            return string.Format("Time table of {0} ({1} - {2})", Division, BeginDate.ToString("dd.MM.yyyy"), EndDate.ToString("dd.MM.yyyy"));
        }
    }
}
